def is_prime(num):
    """判断一个数是不是素数"""
    for factor in range(2,int(num **0.5)+1):
        if num % factor ==0:
            returnFalse
            returnTrueif  num != 1elseFalse